package com.epi.web.log.Impl;

import org.apache.log4j.Logger;

/**
 * @author dxy
 * @version 1.0
 */
public class Log4jLogger {

    private static final Logger log = Logger.getLogger(Log4jLogger.class);

    public static void main(String[] args) {
        System.out.println(log.getClass());
        log.fatal("FATAL: 极其严重的错误");
        log.error("ERROR: 错误信息");
        log.warn("WARN: 警告信息");
        log.info("INFO: 一般信息");
        log.debug("DEBUG: 调试信息");
        log.trace("TRACE: 跟踪信息");
    }

}
